﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Collections;
using System.Collections.Specialized;

namespace UMC.Web
{
    /// <summary>
    /// 生物芯片加密与解密
    /// </summary>
    public class UIBiometricDialog : UIDialog
    {
        /// <summary>
        /// 生物芯片加密
        /// </summary>
        public UIBiometricDialog(string plainText)
        {
            this.Config.Put("PlainText", plainText);
        }
        /// <summary>
        /// 生物芯片并解密+nonce的md5签名
        /// </summary>
        public UIBiometricDialog(string cipherText, string nonce)
        {

            this.Config.Put("CipherText", cipherText, "Nonce", nonce);
        }
        /// <summary>
        /// 对话框类型
        /// </summary>
        protected override string DialogType
        {
            get { return "Biometric"; }
        }
    }
}
